package syncmaster;
  
public class RadarController2 implements ControllerInterface {
	RadarModelInterface model;
	DJView view;
  
	public RadarController2(RadarModelInterface model) {
		this.model = model;
		view = new DJView(this, new RadarAdapter(model));
        view.createView();
        view.createControls();
		view.disableStopMenuItem();
		view.disableStartMenuItem();
	}
  
	public void start() {}
 
	public void stop() {}
    
	public void increaseBPM() {
		int bpm = model.getBPM();
        model.setBPM(bpm + 1);
	}

	public void decreaseBPM() {
		int bpm = model.getBPM();
        model.setBPM(bpm - 1);
	}
  
 	public void setBPM(int bpm) {
 		model.setBPM(bpm);
 	}
}



